package crypto

import (
	"hotstuffImpl/proto"
)

/*
主要职责是
 1. 创建partial signature， quorum signature
 2. 验证partial signature， quorum signature
*/

func CreatePartialSig(quorumType proto.MessageType, viewNumber proto.ViewNumber, node proto.Nod, privKey string) *proto.PartialSig {
	panic("未实现")
}

func CreateQuorumSig(t proto.MessageType, viewNumber proto.ViewNumber, node proto.Nod, pcs []proto.PartialSig) *proto.QuorumSig {
	panic("未实现")
}

func VerifyPartialSig(originalData, signData, pubkey string) (bool, error) {
	panic("未实现")
}

func VerifyQuorumSig(originalData, signData, pubkey string) (bool, error) {
	panic("未实现")
}
